package com.redoor.app.stake.basicdata.service;

import com.redoor.app.stake.basicdata.model.BaseProp;
import com.redoor.app.stake.basicdata.model.BaseStake;
import com.redoor.app.stake.basicdata.model.controllerModel.BasePropCriteria;
import com.redoornetwork.framework.mybatis.service.Service;

import java.util.List;

/**
 * Created by wangjunlei on 2018-03-10 17:05:59.
 */
public interface BasePropRedisService {

    /**
     * 添加或更新base_prop表数据对象
     * @param prop
     * @return
     */
     boolean insertToRedis(List<BaseProp> prop);

    /**
     * 根据 prop:registrationPeriod 查找结果
     * @return
     */
    String getPropFromRedis(String name);
}
